package com.genghis.ptas.note.dao;

import com.genghis.ptas.note.entity.Note;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: gaoyang
 * To change this template use File | Settings | File Templates.
 */
public interface NoteDao {
    Note findNoteById(int noteId);

    int addNote(Note note);

    void editNote(Note note);

    void delNote(String noteId);

    List<Note> findNoteByType(Note note);

    Note findNoteByCourseIdAndUserId(Integer courseId, Integer userId);

    List<Note> findPublicNote(Note note);
}
